package com.hebhy;

import org.apache.log4j.DailyRollingFileAppender;
import org.apache.log4j.Priority;

/**
* <p>Description: </p>
* @author chenxu49
* @date 2018年1月5日:下午5:31:10
*/
public class ErrorDailyRollingFileAppender extends DailyRollingFileAppender {
	
	 @Override  
     public boolean isAsSevereAsThreshold(Priority priority) {  
         return this.getThreshold().equals(priority);  
     }  
	 
}
